package football.modele;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class Administrateur implements Serializable{
	
	private static final long serialVersionUID = -3603918709025375022L;
	private int idAdmin;
	private String login;
	private String password;
	
	public Administrateur() {
	}

	public Administrateur(String loginAdm, String pwdAdm) {
		super();
		this.login = loginAdm;
		this.password = pwdAdm;
	}

	@Id
	@GeneratedValue
	public int getIdAdmin() {
		return idAdmin;
	}

	public void setIdAdmin(int idAdmin) {
		this.idAdmin = idAdmin;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
